﻿#pragma once


// ComPortSet 对话框

class ComPortSet : public CDialogEx
{
	DECLARE_DYNAMIC(ComPortSet)

public:
	ComPortSet(CWnd* pParent = nullptr);   // 标准构造函数
	CString portSetTargetName;
	virtual ~ComPortSet();
	const CString mcuSet = L"MCU Setting";
	const CString meterSet = L"Meter Setting";
	const CString mcuConFile = L"mcuPort.conf";
	const CString meterConFile = L"meterPort.conf";
// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_PORT_SET_DLG};
#endif

protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonApply();
	CStatic setDlgFor;
	CComboBox m_PortCombobox;
	CComboBox m_BaudrateCombobox;
};
